<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>管理员:新增用户页</title>
<link rel="stylesheet" href="https://www.jq22.com/jquery/bootstrap-3.3.4.css">
<link rel="stylesheet" href="${pageContext.request.contextPath }/css/base.css">
<link rel="stylesheet" href="${pageContext.request.contextPath }/css/jquery-kq-nav-left.css">
</head>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/jquery-3.6.1.js"></script>
<body>
	<div>
		<ul class="breadcrumb">
			<li><a href="#">用户管理</a></li>
			<li><a href="#">新增用户</a></li>
		</ul>
		<form 
			action="${pageContext.request.contextPath }/adminadduser" method="post"
			role="form">
			<div class="form-group">
				<label for="username">用户名</label> <input style="width: 50%"
					type="text" class="form-control" name="username"
					placeholder="请输入用户名">
			</div>
			<div class="form-group">
				<label for="password">密码</label>
				<input type="password" name="password" style="width: 50%" placeholder="请输入密码"
					class="form-control"></input>
			</div>
			<div class="form-group">
				<label for="role">用户角色</label> <br>
				<label class="radio-inline">
					<input type="radio" name="role" id="role1"
					value="0"> 管理员
				</label>
				<label class="radio-inline">
					<input type="radio" name="role" id="role2"
					value="1" checked> 普通用户
				</label>
				
			</div>
			
			<div class="form-group">
				<label for="sex">性别</label> <br>
				<label class="radio-inline">
					<input type="radio" name="sex" id="sex1"
					value="0" checked> 女
				</label>
				<label class="radio-inline">
					<input type="radio" name="sex" id="sex2"
					value="1" > 男
				</label>
				
			</div>
			<div class="form-group">
				<label for="age">年龄</label> <input style="width: 50%"
					type="text" class="form-control" name="age"
					placeholder="请输入年龄">
			</div>
			<button type="submit" class="btn btn-default">提交</button>
		</form>
	</div>
</body>
</html>
